﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WRJClient.UI.Map
{
    //Use WGS84
    public class GeoPoint
    {
        public string index { get; set; } = "";
        public double longitude { get; set; } = 0;
        public double latitude { get; set; } = 0;
        public double altitude { get; set; } = 0;

        public GeoPoint()
        {

        }
        public GeoPoint(double x, double y, double z)
        {
            index = "";
            longitude = x;
            latitude = y;
            altitude = altitude;
        }
        public GeoPoint(string i, double x, double y, double z)
        {
            index = i;
            longitude = x;
            latitude = y;
            altitude = altitude;
        }
    }
}
